package com.vtmer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Sloent
 * @date 2022/09/26 01:41
 **/
@Data
public class RegistrationForm {
    @TableId(
            value="id",
            type = IdType.AUTO
    )
            private Integer id;
            @NotNull
            private String username;

            @NotNull
            private String phone;

            @NotNull
            private String studId;

            @NotNull
            @NotBlank(message = "专业不能为空")
            private String professional;

            @NotNull
            private String interestGroups;

            @NotNull
            private String selfIntroduction;
            
            private Integer state;

            private Integer fail;
}